package entity;

import java.util.List;

/**
 * Created by Administrator on 2016/1/13.
 */
public class Details {

    /**
     * code : 1000
     * msg : 请求成功
     * data : {"id":11317,"imgUrl":"http://img03.taotaosou.cn/size/image15/M02/06/4D/wKgDtlXuliQIAAAAABX3cdmD3Z8AAJ2HwBokEoAFfeJ590.jpg","title":"明珠鱼片王五连包 6g*5","originalPrice":"9.00","price":"6.00","salesVolume":25,"website":"自营","like":0,"isSelf":1,"freight":"7.00","stock":52,"tradeType":3,"guessLikeList":[{"id":11210,"imgUrl":"http://img01.taotaosou.cn/size/image15/M04/00/EE/wKgDtlXKsKcIAAAAAADvpdWJX5sAABdWAC7Sn0AAO-9260.jpg","title":"绿盛百卤坊牛筋（原味） 68g/袋 杭州特产","originalPriceStr":"23.25","priceStr":"16.00","salesVolume":5,"website":"自营","isSelf":1},{"id":11395,"imgUrl":"http://img03.taotaosou.cn/size/image16/M09/05/1D/CgAAQFYcpCYIAAAAAAIr9eynPkQAAH_WAOkYX0AAiwN027.jpg","title":"整盒 / 韩国进口 好丽友 鲫鱼型蛋糕派 打鱼糕","originalPriceStr":"31.50","priceStr":"21.00","salesVolume":1,"website":"自营","isSelf":1},{"id":11514,"imgUrl":"http://img01.taotaosou.cn/size/image16/M05/01/FB/CgAAQFaCS3oIAAAAAAJqJbNYOFAAAR_PgL_u-QAAmo9857.jpg","title":"韩国进口 三养火鸡面 超辣140g","originalPriceStr":"11.85","priceStr":"7.90","website":"自营","isSelf":1},{"id":11382,"imgUrl":"http://img02.taotaosou.cn/size/image16/M0A/03/FB/CgAAQFYXah0IAAAAAAxvGbijJ2QAAGOFgG3WzIADG8x674.png","title":"好丽友 布朗尼巧克力蛋糕","originalPriceStr":"23.25","priceStr":"18.80","salesVolume":11,"website":"自营","isSelf":1},{"id":11234,"imgUrl":"http://img02.taotaosou.cn/size/image15/M01/00/F0/wKgDt1XKt_kIAAAAAAD48yTny3gAABeGwFhM9YAAPkL196.jpg","title":"唯新猪肉脯（原味）自然醇香 台湾特产零食","originalPriceStr":"17.25","priceStr":"11.50","salesVolume":16,"website":"自营","isSelf":1},{"id":11354,"imgUrl":"http://img.taotaosou.cn/size/image15/M01/05/82/wKgDtlXr9X8IAAAAAAB4uD-rLtkAAInGAGW0pgAAHjQ744.jpg","title":"绿盛鸭肫 原味 68g/包 独立小包装","originalPriceStr":"23.85","priceStr":"15.90","salesVolume":6,"website":"自营","isSelf":1}],"description":[{"picUrl":"http://img02.taotaosou.cn/size/image15/M03/04/43/wKgDtlXjxjEIAAAAAAF0Q1NgHgMAAGqeQD9KkUAAXRb785.jpg"},{"picUrl":"http://img02.taotaosou.cn/size/image15/M03/04/43/wKgDtlXjxkEIAAAAAAEZNoxeuCgAAGqeQEFP4IAARlO623.jpg"},{"picUrl":"http://img03.taotaosou.cn/size/image15/M03/04/43/wKgDt1XjxksIAAAAAAP8rPaA9L4AAGqeQEGWNAAA_zE050.jpg"}],"spec":["产品标准号:SC/T 3302","保质期:9个月","净含量:30g","包装方式:袋装","配料表:海水鱼、白砂糖、食用盐、味精","储存方式:阴凉干燥处，冷藏更佳"],"priceStr":"6.00"}
     */

    private int code;
    private String msg;
    /**
     * id : 11317
     * imgUrl : http://img03.taotaosou.cn/size/image15/M02/06/4D/wKgDtlXuliQIAAAAABX3cdmD3Z8AAJ2HwBokEoAFfeJ590.jpg
     * title : 明珠鱼片王五连包 6g*5
     * originalPrice : 9.00
     * price : 6.00
     * salesVolume : 25
     * website : 自营
     * like : 0
     * isSelf : 1
     * freight : 7.00
     * stock : 52
     * tradeType : 3
     * guessLikeList : [{"id":11210,"imgUrl":"http://img01.taotaosou.cn/size/image15/M04/00/EE/wKgDtlXKsKcIAAAAAADvpdWJX5sAABdWAC7Sn0AAO-9260.jpg","title":"绿盛百卤坊牛筋（原味） 68g/袋 杭州特产","originalPriceStr":"23.25","priceStr":"16.00","salesVolume":5,"website":"自营","isSelf":1},{"id":11395,"imgUrl":"http://img03.taotaosou.cn/size/image16/M09/05/1D/CgAAQFYcpCYIAAAAAAIr9eynPkQAAH_WAOkYX0AAiwN027.jpg","title":"整盒 / 韩国进口 好丽友 鲫鱼型蛋糕派 打鱼糕","originalPriceStr":"31.50","priceStr":"21.00","salesVolume":1,"website":"自营","isSelf":1},{"id":11514,"imgUrl":"http://img01.taotaosou.cn/size/image16/M05/01/FB/CgAAQFaCS3oIAAAAAAJqJbNYOFAAAR_PgL_u-QAAmo9857.jpg","title":"韩国进口 三养火鸡面 超辣140g","originalPriceStr":"11.85","priceStr":"7.90","website":"自营","isSelf":1},{"id":11382,"imgUrl":"http://img02.taotaosou.cn/size/image16/M0A/03/FB/CgAAQFYXah0IAAAAAAxvGbijJ2QAAGOFgG3WzIADG8x674.png","title":"好丽友 布朗尼巧克力蛋糕","originalPriceStr":"23.25","priceStr":"18.80","salesVolume":11,"website":"自营","isSelf":1},{"id":11234,"imgUrl":"http://img02.taotaosou.cn/size/image15/M01/00/F0/wKgDt1XKt_kIAAAAAAD48yTny3gAABeGwFhM9YAAPkL196.jpg","title":"唯新猪肉脯（原味）自然醇香 台湾特产零食","originalPriceStr":"17.25","priceStr":"11.50","salesVolume":16,"website":"自营","isSelf":1},{"id":11354,"imgUrl":"http://img.taotaosou.cn/size/image15/M01/05/82/wKgDtlXr9X8IAAAAAAB4uD-rLtkAAInGAGW0pgAAHjQ744.jpg","title":"绿盛鸭肫 原味 68g/包 独立小包装","originalPriceStr":"23.85","priceStr":"15.90","salesVolume":6,"website":"自营","isSelf":1}]
     * description : [{"picUrl":"http://img02.taotaosou.cn/size/image15/M03/04/43/wKgDtlXjxjEIAAAAAAF0Q1NgHgMAAGqeQD9KkUAAXRb785.jpg"},{"picUrl":"http://img02.taotaosou.cn/size/image15/M03/04/43/wKgDtlXjxkEIAAAAAAEZNoxeuCgAAGqeQEFP4IAARlO623.jpg"},{"picUrl":"http://img03.taotaosou.cn/size/image15/M03/04/43/wKgDt1XjxksIAAAAAAP8rPaA9L4AAGqeQEGWNAAA_zE050.jpg"}]
     * spec : ["产品标准号:SC/T 3302","保质期:9个月","净含量:30g","包装方式:袋装","配料表:海水鱼、白砂糖、食用盐、味精","储存方式:阴凉干燥处，冷藏更佳"]
     * priceStr : 6.00
     */

    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String imgUrl;
        private String title;
        private String originalPrice;
        private String price;
        private int salesVolume;
        private String website;
        private int like;
        private int isSelf;
        private String freight;
        private int stock;
        private int tradeType;
        private String priceStr;
        /**
         * id : 11210
         * imgUrl : http://img01.taotaosou.cn/size/image15/M04/00/EE/wKgDtlXKsKcIAAAAAADvpdWJX5sAABdWAC7Sn0AAO-9260.jpg
         * title : 绿盛百卤坊牛筋（原味） 68g/袋 杭州特产
         * originalPriceStr : 23.25
         * priceStr : 16.00
         * salesVolume : 5
         * website : 自营
         * isSelf : 1
         */

        private List<GuessLikeListEntity> guessLikeList;
        /**
         * picUrl : http://img02.taotaosou.cn/size/image15/M03/04/43/wKgDtlXjxjEIAAAAAAF0Q1NgHgMAAGqeQD9KkUAAXRb785.jpg
         */

        private List<DescriptionEntity> description;
        private List<String> spec;

        public void setId(int id) {
            this.id = id;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setOriginalPrice(String originalPrice) {
            this.originalPrice = originalPrice;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setSalesVolume(int salesVolume) {
            this.salesVolume = salesVolume;
        }

        public void setWebsite(String website) {
            this.website = website;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public void setIsSelf(int isSelf) {
            this.isSelf = isSelf;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public void setTradeType(int tradeType) {
            this.tradeType = tradeType;
        }

        public void setPriceStr(String priceStr) {
            this.priceStr = priceStr;
        }

        public void setGuessLikeList(List<GuessLikeListEntity> guessLikeList) {
            this.guessLikeList = guessLikeList;
        }

        public void setDescription(List<DescriptionEntity> description) {
            this.description = description;
        }

        public void setSpec(List<String> spec) {
            this.spec = spec;
        }

        public int getId() {
            return id;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public String getTitle() {
            return title;
        }

        public String getOriginalPrice() {
            return originalPrice;
        }

        public String getPrice() {
            return price;
        }

        public int getSalesVolume() {
            return salesVolume;
        }

        public String getWebsite() {
            return website;
        }

        public int getLike() {
            return like;
        }

        public int getIsSelf() {
            return isSelf;
        }

        public String getFreight() {
            return freight;
        }

        public int getStock() {
            return stock;
        }

        public int getTradeType() {
            return tradeType;
        }

        public String getPriceStr() {
            return priceStr;
        }

        public List<GuessLikeListEntity> getGuessLikeList() {
            return guessLikeList;
        }

        public List<DescriptionEntity> getDescription() {
            return description;
        }

        public List<String> getSpec() {
            return spec;
        }

        public static class GuessLikeListEntity {
            private int id;
            private String imgUrl;
            private String title;
            private String originalPriceStr;
            private String priceStr;
            private int salesVolume;
            private String website;
            private int isSelf;

            public void setId(int id) {
                this.id = id;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setOriginalPriceStr(String originalPriceStr) {
                this.originalPriceStr = originalPriceStr;
            }

            public void setPriceStr(String priceStr) {
                this.priceStr = priceStr;
            }

            public void setSalesVolume(int salesVolume) {
                this.salesVolume = salesVolume;
            }

            public void setWebsite(String website) {
                this.website = website;
            }

            public void setIsSelf(int isSelf) {
                this.isSelf = isSelf;
            }

            public int getId() {
                return id;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public String getTitle() {
                return title;
            }

            public String getOriginalPriceStr() {
                return originalPriceStr;
            }

            public String getPriceStr() {
                return priceStr;
            }

            public int getSalesVolume() {
                return salesVolume;
            }

            public String getWebsite() {
                return website;
            }

            public int getIsSelf() {
                return isSelf;
            }
        }

        public static class DescriptionEntity {
            private String picUrl;

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public String getPicUrl() {
                return picUrl;
            }
        }
    }
}
